﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Biblio2.LocalParsing
{
    class WorkerEventProgress
    {
        #region Enum
        public enum ReportEnum
        {
            Error,
            Progress,
            Info,
        }
        #endregion Enum

        #region Attributs
        public LocalParsingManager.Step Step;
        public ReportEnum Type;
        public int ProgressValue;
        public int ProgressMaxValue;
        public String Message;
        #endregion Attributs

        #region Constructeur
        public WorkerEventProgress(ReportEnum aType, LocalParsingManager.Step aStep, int aProgressValue, int aProgressMaxValue, String aMessage)
        {
            Type = aType;
            Step = aStep;
            ProgressValue = aProgressValue;
            ProgressMaxValue = aProgressMaxValue;
            Message = aMessage;
        }

        #endregion

    }
}
